package com.a1113;

public class a04 {
    public static void main(String[] args) {
        TestFunction testFunction = new TestFunction();
        testFunction.printNum();

    }


}
//编写类TestFunction,成员方法有printNum,该方法完成的功能是：打印出100以内，能被7整除的所有数



class TestFunction{
    public void printNum(){

        int sum = 0;
        for(int i=0;i<=100;i++){
            if(i%7 == 0){
                System.out.println(i);
            }

        }


    }

}